import React, { Component } from 'react'
import styles from "./goodDetail.module.scss"
export default class GoodDetail extends Component {
    render() {
        return (
            <div className={styles.goodDetail}>
                <div className={styles.goodDetailTitle}>
                    <i className="icon icon-return" onClick={()=>{
                        this.props.history.push('/home');
                    }}></i>
                    <span className={styles.title}>商品详情</span>
                </div>
                <div className={styles.goodDetailContent}></div>
                <div className={styles.goodDetailFooter}>
                    <div className={styles.footerItem}>
                        <i className="iconfont icon-lianxikefu"></i>
                        <span className={styles.itemTitle}>联系客服</span>
                    </div>
                    <div className={styles.footerItem}>
                        <i className="iconfont icon-gouwuche1"></i>
                        <span className={styles.itemTitle}>购物车</span>
                    </div>
                    <div className={styles.footerItem}>
                        <span className={styles.addCart}>加入购物车</span>
                    </div>
                    <div className={styles.footerItem}>
                        <span className={styles.purchase}>立即购买</span>
                    </div>
                </div>
            </div>
        )
    }
}
